<%@ page contentType="text/html; charset=utf-8"
	import="com.running.crm.model.SmsConfig"%>
<%
	SmsConfig sms = (SmsConfig) request.getAttribute("data");
%>
<html>
	<head>
	</head>
	<body>
		<form name="oForm" onsubmit="return ValidateForm(this)" method="POST"
			action="smsConfig.do?method=saveEdit">
			<table id="FormTable">
				<CAPTION>
					查看短信内容
				</CAPTION>
				<tr>
					<td>
						<font class="FieldItem">短信标题</font>
						<br />
						<input type="text" name="smsSubject" _dataType="string"
							_cnName="短信标题" _dataEmpty="false" _dataLength="128"
							value="<%=sms.getSmsSubject()%>" readonly />
					</td>
				</tr>
				<tr>
					<td>
						<font class="FieldItem">短信内容<font class="NotNull">(该内容为<%=sms.getSmsCounts()%>条短信)</font>
						</font>
						<br />
						<textarea name="smsContent" _dataType="string" _cnName="短信内容"
							_dataEmpty="false" _dataLength="255" readonly><%=sms.getSmsContent()%></textarea>
					</td>
				</tr>
				<tr>
					<td>
					<font class="FieldItem" style="vertical-align: middle">
						<label for="oDefaultIncoming" style="cursor: hand;">
						<input type="checkbox" name="defaultIncomingcallSms" value="Y"
								class="DefaultCheckBox" id="oDefaultIncoming"
								<%if (sms.getDefaultIncomingcallSms().equals(SmsConfig.SMS_STATUS_DEFAULT)) out.print("checked");%>
								disabled />
							来电短信
							
						</label>
						</font>
						<font class="FieldItem" style="vertical-align: middle">
						<label for="oDefaultDeelectrifying" style="cursor: hand;">
						<input type="checkbox" name="defaultDeelectrifyingSms" value="Y"
								class="DefaultCheckBox" id="oDefaultDeelectrifying"
								<%if (sms.getDefaultDeelectrifyingSms().equals(SmsConfig.SMS_STATUS_DEFAULT)) out.print("checked");%>
								disabled />
							去电短信
							
						</label>
						</font>
					</td>
				</tr>
				<tr>
					<td>
						<HR />
					</td>
				</tr>
				<tr>
					<td>
						<input type="button" name="btnCancel" value=" 返 回 "
							class="DefaultBtnCancel" />
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>